package com.vercon.common.mode.weather;

import java.util.List;

/**
 * Created by csh on 2021/4/6
 */
public class CityData {


    /**
     * rows : [{"_id":"60893f7c256ee3ccf9d076b4","code":"1809858","name":"Guangzhou","simpleName":"CN","lon":"113.25","lat":"23.1167"}]
     * total : 1
     */

    private int total;
    private List<RowsBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean {
        /**
         * _id : 60893f7c256ee3ccf9d076b4
         * code : 1809858
         * name : Guangzhou
         * simpleName : CN
         * lon : 113.25
         * lat : 23.1167
         */

        private String _id;
        private String code;
        private String name;
        private String simpleName;
        private double lon;
        private double lat;
        /**
         * province : 广东
         * city : 广州
         * district : 广州
         * create_time : 2021-06-09T06:55:21.551Z
         * update_time : 2021-06-09T06:55:21.551Z
         * __v : 0
         */

        private String province;
        private String city;
        private String district;
        private String create_time;
        private String update_time;
        private int __v;

        public RowsBean(String city) {
            this.city = city;
        }

        public RowsBean(String name, double lon, double lat) {
            this.name = name;
            this.lon = lon;
            this.lat = lat;
        }

        public String get_id() {
            return _id;
        }

        public void set_id(String _id) {
            this._id = _id;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSimpleName() {
            return simpleName;
        }

        public void setSimpleName(String simpleName) {
            this.simpleName = simpleName;
        }

        public double getLon() {
            return lon;
        }

        public void setLon(double lon) {
            this.lon = lon;
        }

        public double getLat() {
            return lat;
        }

        public void setLat(double lat) {
            this.lat = lat;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getDistrict() {
            return district;
        }

        public void setDistrict(String district) {
            this.district = district;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public String getUpdate_time() {
            return update_time;
        }

        public void setUpdate_time(String update_time) {
            this.update_time = update_time;
        }

        public int get__v() {
            return __v;
        }

        public void set__v(int __v) {
            this.__v = __v;
        }
    }
}